home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Carousel Volume 2 #1
/
carousel.iso
/
mactosh
/
init
/
turbomen.sit
/
About TurboMenu…
next >
Wrap
Text File
|
1988-04-25
|
4KB
|
132 lines
TurboMenu
---------
Written by Byron Han. Copyright ⌐ 1988 - Byron Han. All rights reserved.
TurboMenu will allow access to the menubar from anywhere on any screen
(using System 6.0 or later). Using System 5.0 will only allow access to
the menubar from the main gDevice (e.g. the screen with the menubar on the
Macintosh II).
To install, simply drag into the System Folder and reboot.
When clicking the mouse while holding down the Command and Shift keys,
a hierarchical popup menu is created with the first level containing the titles of
the menus in the menubar. The second layer corresponds to the items you would see
by selecting a menu item from the standard menubar.
TurboMenu works by patching FindWindow and MenuSelect. TurboMenu installs
at boot time as an INIT. To disable it, hold down the shift key or
mouse button during boot until you see a icon with a black screen in it.
TurboMenu is free for non-commercial distribution. Contact me for licensing
information. Use this product at your own risk.
Cheers!
Byron Han
Apple Computer, Inc.
20525 Mariani Ave, MS 27Y
Cupertino, CA 95014
AppleLink : HAN1
CompuServe: 72167,1664
GENIE: BYRONHAN
Internet: han@apple.COM
MacNet: HAN
UUCP:{sun,voder,nsc,decwrl}!apple!han
History
-------
1.0D1 - 11 March 1988 -
Still rather flaky.
problems with SuitCase's Apple menu
occasional crashes when context switch under MultiFinder
occasional crashes when quitting under monoFinder.
1.0D2 Call SystemMenu when menuID is > max application Hier Menu ID
or if menuID < 0.
MonoFinder seems to be stable.
1.0D3 13 April 1988 - Rewrote it. Added ShowInit. Seems to work.
Caveats:
hierDA needs to be loaded AFTER TurboMenu for hierDA to work.
needs to be loaded after ApplicationMenu or MFInit.
Crashes with FullWrite Professional (MacWorld demo version).
Problem with MacroMaker (selecting the macro maker menu) on
System Disks 6.0B7 causes crash.
Problem with Keypad menu in MacTerminal 2.3. Works fine on Macintosh II
but not on Macintosh SE. No crashes though.
Works with MacPaint 2.0 on Macintosh II under MultiFinder. Even tears off menus.
Works with HyperCard 1.1. Tears off windoids also.
1.0D4 Wasn't disposing of a handle in patch installer. Now I dispose of the two handles.
Neat, eh?
1.0D5 14 April 1988
Increased sysz resource. Made most resources purgeable.
Instead of copying menus by calling NewMenu and copying items and attributes
item by item, now do HandToHand to copy the menu handle and then assign the
menuID field manually prior to doing InsertMenu.
Now works with MacTerminal keypad menu on SE (and presumably on a Macintosh Plus)
and works with MacroMaker╒s menu.
Problem with PageMaker 3.0's Line and Shade menus. Line appears with
Shade's items and Shade is empty. Seems to be a dependency of the menu defproc
assuming certain ID's.
Still crashes with FullWrite Professional.
1.0D6 Changed INIT to check if on 128K ROM╒s or later.
Also if PopUpMenuSelect trap is available.
Messages
--------
Hi Mom! Thanks Dor.
Compatibility Guidelines
------------------------
If you are writing a custom MDEF, do NOT assume what menu ID is using the MDEF.
You can get the menuID from the menuHandle but do NOT assume that "if my
custom MDEF is being used, it is ID n"...
For example, if one installs a custom MDEF which is used by two menus and the MDEF
checks to see if the menuID = n then draw one thing, menuID = n+1 then draw another.
This is will cause problems. Do two custom MDEF's.
Sizes
-----
# These are the resources in "TurboMenu" (1.0D6).
RezDet -l TurboMenu
"TurboMenu":
'ICN#' (128, Purgeable) [256]
'ICN#' (129, Purgeable) [256]
'vers' (1, Purgeable) [52]
'vers' (2, Purgeable) [37]
'ptc*' (0, "FindWindow Patch", Purgeable) [156]
'ptc*' (1, "MenuSelect Patch", Purgeable) [1044]
'INIT' (0, "TurboMenu Patch", Purgeable) [1328]
'sysz' (0, Purgeable) [4]
'FREF' (128, Purgeable) [7]
'BNDL' (128, Purgeable) [28]
'pop!' (0, Purgeable) [51]
The resource fork of TurboMenu appears to be OK.